.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  box-shadow: 0 2px 10px rgb(0 0 0 / 30%);

  &.shadow {
    box-shadow: 0 2px 10px rgb(0 0 0 / 30%);
    background-color: #fff;
  }

  .content {
    max-width: 1920px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .logo {
      color: #647eff;
      text-decoration: none;
      font-size: 24px;
      font-weight: bold;

      img {
        vertical-align: middle;
      }
    }

    .icon {
      display: none;
    }
  }

  .loginBtn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    background-color: #647eff;
    color: #fff;
    font-size: 14px;
    margin-left: 10px;
  }

  .menus {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 20px;
    padding-right: 100px;

    .menu {
      text-decoration: none;
      font-size: 14px;
      text-emphasis: none;
      color: #5659fe;
      border-bottom: 2px solid transparent;
      line-height: 30px;
      cursor: pointer;
      border: 1px solid #5659fe;
      padding: 0 20px;
      border-radius: 20px;
      &.solid {
        background-image: linear-gradient(to right, #ec008c, #fc6767);
        color: #fff;
        border: 1px solid transparent;
      }
    }
  }

  @media screen and (width <= 800px) {
    display: none;
    .content {
      font-size: 14px;
      padding: 12px;

      .menu,
      .loginArea {
        display: none;
      }

      .menu,
      .icon {
        display: inline-block;
      }
      .hide {
        display: none;
      }
    }
  }

  .mask {
    background-color: rgb(0 0 0 / 60%);
    position: fixed;
    inset: 50px 0 0;
    z-index: 100;
    display: none;
  }

  .dropdownMenu {
    display: none;
    background: #fff;
    background-color: #fff;
    position: fixed;
    z-index: 110;

    top: 50px;
    width: 100%;
    left: 0;
    padding: 0 20px 40px;
    transform-origin: top;

    .menus {
      display: flex;
      flex-direction: column;
      gap: 10px;

      /* stylelint-disable-next-line no-descending-specificity */
      .menu {
        text-decoration: none;
        text-emphasis: none;
        color: #333;
        border-bottom: 2px solid transparent;
        line-height: 30px;
        font-weight: 500;
        cursor: pointer;
      }
    }

    .loginBtn {
      margin-left: 0;
      width: 140px;
      text-align: center;
      margin-top: 30px;
      padding: 10px;
    }
  }

  .showMask {
    display: block !important;
  }

  .showDropDown {
    display: block !important;
    animation: slideIn 0.1s linear forwards;
  }

  @keyframes slideIn {
    0% {
      transform: scaleY(0);
    }

    100% {
      transform: scaleY(1);
    }
  }
}
